﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace JNPF.Basics.Models
{
    /// <summary>
    /// 文件签阅表
    /// 版 本：V3.0.0
    /// 版 权：引迈信息技术有限公司（https://www.jnpfsoft.com）
    /// 作 者：JNPF开发平台组
    /// 日 期：2018-07-13 
    /// </summary>
    [Table("WFORM_DOCUMENTSIGNING")]
    public class DocumentSigningEntity
    {
        /// <summary>
        /// 自然主键
        /// </summary>
        [Key]
        [Column("F_ID")]
        public string Id { get; set; }
        /// <summary>
        /// 流程主键
        /// </summary>
        [Column("F_FLOWID")]
        public string FlowId { get; set; }
        /// <summary>
        /// 流程标题
        /// </summary>
        [Column("F_FLOWTITLE")]
        public string FlowTitle { get; set; }
        /// <summary>
        /// 紧急程度
        /// </summary>
        [Column("F_FLOWURGENT")]
        public int? FlowUrgent { get; set; }
        /// <summary>
        /// 流程单据
        /// </summary>
        [Column("F_BILLNO")]
        public string BillNo { get; set; }
        /// <summary>
        /// 文件名称
        /// </summary>
        [Column("F_FILENAME")]
        public string FileName { get; set; }
        /// <summary>
        /// 文件编码
        /// </summary>
        [Column("F_FILLNUM")]
        public string FillNum { get; set; }
        /// <summary>
        /// 拟稿人
        /// </summary>
        [Column("F_DRAFTEDPERSON")]
        public string DraftedPerson { get; set; }
        /// <summary>
        /// 签阅人
        /// </summary>
        [Column("F_READER")]
        public string Reader { get; set; }
        /// <summary>
        /// 文件拟办
        /// </summary>
        [Column("F_FILLPREPARATION")]
        public string FillPreparation { get; set; }
        /// <summary>
        /// 签阅时间
        /// </summary>
        [Column("F_CHECKDATE")]
        public DateTime? CheckDate { get; set; }
        /// <summary>
        /// 发稿日期
        /// </summary>
        [Column("F_PUBLICATIONDATE")]
        public DateTime? PublicationDate { get; set; }
        /// <summary>
        /// 相关附件
        /// </summary>
        [Column("F_FILEJSON")]
        public string FileJson { get; set; }
        /// <summary>
        /// 文件内容
        /// </summary>
        [Column("F_DOCUMENTCONTENT")]
        public string DocumentContent { get; set; }
        /// <summary>
        /// 建议栏
        /// </summary>
        [Column("F_ADVICECOLUMN")]
        public string AdviceColumn { get; set; }
    }
}
